package ar.edu.caece.compiler.grammar.nonterminals;

import ar.edu.caece.compiler.grammar.NonTerminalSymbol;
import ar.edu.caece.compiler.grammar.terminals.AsignacionToken;

public class POSIBILIDADES2 extends NonTerminalSymbol implements POSIBILIDADES {

	private AsignacionToken asignacionToken;
	private EXPR expr;
	
	public POSIBILIDADES2(AsignacionToken asignacionToken,
			EXPR expr) {
		super();
		this.asignacionToken = asignacionToken;
		this.expr = expr;
	}

	@Override
	public String getRepresentation() {
		// TODO Auto-generated method stub
				return "{"+this.getClass().getSimpleName()+" -> "+asignacionToken.getRepresentation()+" "+expr.getRepresentation()+"}";
	}

	public AsignacionToken getAsignacionToken() {
		return asignacionToken;
	}

	public EXPR getExpr() {
		return expr;
	}

}
